// The Vue build version to load with the `import` command
// (runtime-only or standalone) has been set in webpack.base.conf with an alias.
import 'babel-polyfill'
import Vue from 'vue'
import App from './App'
import router from './router'

import VueLazyload from 'vue-lazyload'
import faskclick from 'fastclick'

import './common/stylus/index.styl'

Vue.config.productionTip = false

faskclick.attach(document.body)

Vue.use(VueLazyload, {
  loading: require('./common/image/default.png')
})

/* eslint-disable no-new */
new Vue({
  el: '#app',
  router,
  template: '<App/>',
  components: { App }
})
